//
//  NSObject+Extansion.h
//  lTTheOne
//
//  Created by AA on 2024/3/10.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSObject (Extansion)

// 模型转字典
- (NSDictionary *)modelForDict;    // 当前对象直接转换成字典

// 数组模型
+ (NSArray *)jsonsToModelsWithJsons:(NSArray *)jsons;

#pragma mark - 字典转模型
+ (instancetype)initDictForModel:(NSDictionary *)dict;

@end

NS_ASSUME_NONNULL_END
